package com.yxy.model;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import java.util.Date;
import java.math.BigDecimal;

import javax.persistence.*;


//会议室申请
@Data
@Entity
@Table(name = "table_meeting_apply",schema = "")
public class TableMeetingApply {

  //null
  @Id
  @KeySql(useGeneratedKeys = true,sql = "SELECT @@IDENTITY",order = ORDER.AFTER)
  @Column(name = "id")
  private Long id;

  //申请部门名称
  @Column(name = "department_name")
  private String departmentName;

  //申请部门编码
  @Column(name = "department_code")
  private String departmentCode;

  //申请员工姓名
  @Column(name = "user_name")
  private String userName;

  //申请员工工号
  @Column(name = "user_code")
  private String userCode;

  //申请会议室门牌号
  @Column(name = "meeting_code")
  private String meetingCode;

  //申请会议室名称
  @Column(name = "meeting_name")
  private String meetingName;

  //申请开始时间
  @Column(name = "apply_start_time")
  private String applyStartTime;

  //申请结束时间
  @Column(name = "apply_end_time")
  private String applyEndTime;

  //是否批准 1批准 2 不批准
  @Column(name = "is_approval")
  private Long isApproval;

  //null
  @Column(name = "create_date")
  private Date createDate;

  //null
  @Column(name = "create_user_id")
  private Long createUserId;

  //null
  @Column(name = "create_user_name")
  private String createUserName;

  //null
  @Column(name = "update_date")
  private Date updateDate;

  //null
  @Column(name = "update_user_id")
  private Long updateUserId;

  //null
  @Column(name = "update_user_name")
  private String updateUserName;

  //会议主题
  @Column(name = "meeting_title")
  private String meetingTitle;

  //参会人员
  @Column(name = "meeting_user_name")
  private String meetingUserName;

  //null
  @Column(name = "tenant_id")
  private Long tenantId;


}
